package com.softeem.music.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 
 * @TableName album
 */
@Schema(description = "专辑")
@TableName(value ="album")
@Data
public class Album {
    /**
     * 专辑id
     */
    @Schema(description = "专辑id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 专辑名
     */
    @Schema(description = "专辑名")
    private String name;

    /**
     * 歌手
     */
    @Schema(description = "歌手")
    private String singer;

    /**
     * 唱片公司
     */
    @Schema(description = "唱片公司")
    private String company;

    /**
     * 发行时间
     */
    @Schema(description = "发行时间")
    private Date publishTime;

    /**
     * 封面图地址
     */
    @Schema(description = "封面图地址")
    private String pic;

    /**
     * 状态(0-下架,1-上架)
     */
    @Schema(description = "状态(0-下架,1-上架)")
    private Integer status;
}